package com.acme.javaschool.intense.bankapp.network;

import com.acme.javaschool.intense.bankapp.domain.Client;

/**
 * Stores client and send address info.
 * @author data
 *
 */
public class Email {

	Client client;
	String address;
	
	public Email(Client client, String address) {
		this.client = client;
		this.address = address;
	}
	
	@Override
	public String toString() {
		return "Email: \n To:" + address + "\nMessage:\n" + client + "\n";
	}
}
